package com.day19.ex11;

import java.util.Objects;
import java.util.Properties;
import java.util.Set;

public class PropertiesDemo01 {
    public static void main(String[] args) {
        Properties prop=new Properties();
        prop.put("itheima001","林青霞");
        prop.put("itheima002","张曼玉");
        prop.put("itheima003","王祖贤");
        Set<Object> keySet = prop.keySet();
        for(Object key:keySet){
            Object value=prop.get(key);
            System.out.println(key+":"+value);
        }
    }
}
